package com.drawu.drawuspring.service;

import com.drawu.drawuspring.domain.po.Images;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hui
 * @since 2024-10-12
 */
public interface IImagesService extends IService<Images> {

    String uploadImage(MultipartFile mpFile,String type);

    /**
     * 保存图片
     * @param images 图片列表
     */
    void saveImages(List<String> images, Integer id);

    void deleteImage(String url,String type);
}
